#ifndef CONNECTMANAGER_H
#define CONNECTMANAGER_H

#include <QDebug>
#include <QJsonObject>
#include <QObject>
#include <QHostAddress>

#include <QTcpServer>
#include <QTcpSocket>

class ConnectManager : public QObject
{
    Q_OBJECT
public:
    explicit ConnectManager(QObject *parent = 0);
    ~ConnectManager();
    void dataReceiverSlot(const QByteArray&);
    void aboutHost();
private:
    QString aboutHostInfoString;
     QTcpSocket*  socket;
signals:    
    void myError(const QString &);
    void hostStatusInfo(const QByteArray&);

public slots:

};

#endif // CONNECTMANAGER_H
